﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace NLBS.WebControls.UI
{
    
    public class CallBackEventArgs : EventArgs
    {
        /// <summary>
        /// default first param
        /// </summary>
        public string Parameter;
        public HtmlTextWriter Output;
        /// <summary>
        /// param collection
        /// </summary>
        public string[] Parameters;

        public CallBackEventArgs(HtmlTextWriter output)
        {
            this.Output = output;
        }

        public CallBackEventArgs(HtmlTextWriter output,string parameter)
        {
            this.Parameter = parameter;
        }
    }

    public delegate void CallBackEventHanlder(object sender,CallBackEventArgs args);

}
